home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
287
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
1KB
Date: Thu, 2 Jun 1994 12:55:51 -0400 (EDT)
From: Timothy Miller <millert@undergrad.csee.usf.edu>
Subject: Re: Proposal
To: gem-list@world.std.com
In-Reply-To: <9406021258.AA07781=avg@mijt.cwi.nl>
Message-Id: <Pine.3.87.9406021251.H11025-0100000@undergrad>
Mime-Version: 1.0
Precedence: bulk
On Thu, 2 Jun 1994, Annius Groenink wrote:
>
> > evnt_multi returns the scancode. I always include a scancode.h file and
> > just write the names of the keys. I don't think this is difficult for
> > programmers (at least not in C, and I would expect that other languages
> > have no problems as well).
>
> As we discussed on the news a while ago, this is VERY BAD PRACTICE for
> lettered keys! As control Y and control Z for example have different
> scancodes on German keyboards! For French keyboards this is even much
> worse.
>
> The only correct way AFAIK is to read the tables produced by Keytbl() in order
> to get the letter, and reading the shift key status or smartly interpreting
> the lower byte of the scancode to determining whether ALT or CONTROL was
> pressed.
>
Initially, I thought that I might be able to tolerate looking at the
scancode for the control-keys, but with all this extra CRAP that needs to
be dealt with for foreign keyboards, my responce is 'screw it!'.
Hey, people, you're getting overly complicated!
WIN.INI
SYSTEM.INI